//
//  KRSportPolyLine.h
//  KRSport
//
//  Created by KaoRny on 17/4/22.
//  Copyright © 2017年 KaoRny. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>

@interface KRSportPolyLine : MAPolyline

//折线平均速度   km/hour
@property (nonatomic, assign, readonly) CGFloat speed;
//描边颜色
@property (nonatomic, strong, readonly) UIColor *storkeColor;


/**
 折线初始化
 
 @param source 起点位置对象
 @param dest 终点位置对象
 @return 折线模型
 */
+ (instancetype)polylineWithSourceLocation:(CLLocation *)source andDestLocation:(CLLocation *)dest;

@end
